package com.shengde.jinwawaforleader.network.protocolbean;

import java.util.List;

/**
 * Created by Chason on 2016/7/10.
 */
public class ProFoodTypeInfo {

    /**
     * code : 0
     * type : [{"id":1,"schoolid":6,"title":"早餐"},{"id":2,"schoolid":6,"title":"中餐"},{"id":3,"schoolid":6,"title":"午点"},{"id":4,"schoolid":6,"title":"晚餐"}]
     */

    private int code;
    /**
     * id : 1
     * schoolid : 6
     * title : 早餐
     */

    private List<TypeEntity> type;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<TypeEntity> getType() {
        return type;
    }

    public void setType(List<TypeEntity> type) {
        this.type = type;
    }

    public static class TypeEntity {
        private int id;
        private int schoolid;
        private String title;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSchoolid() {
            return schoolid;
        }

        public void setSchoolid(int schoolid) {
            this.schoolid = schoolid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
